package cc.cix.gt.org.dto.query;

import cc.cix.gt.common.entity.QueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @author cix
 */
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "QueryLogDTO对象", description = "日志查询")
public class QueryLogReq extends QueryRequest {

    @ApiModelProperty("操作用户")
    private String username;

    @ApiModelProperty("操作用户")
    private String operation;

    @ApiModelProperty("耗时（毫秒）")
    private Long time;

    @ApiModelProperty("操作方法")
    private String method;

    @ApiModelProperty("方法参数")
    private String params;

    @ApiModelProperty("操作地点")
    private String location;

}
